package com.ocm.tourism.core.dao;

import com.ocm.tourism.core.domain.AuditBusinessAdvs;
import com.ocm.tourism.core.domain.AuditInfo;
import com.ocm.tourism.core.domain.TransalationType;

public interface AuditInfoDao extends GenericDao<AuditInfo> {

   boolean hasExistedAudit(String auditKey);

   long getNextIndex(TransalationType transalationType);

   void saveAuditBusinessAdvs(AuditBusinessAdvs auditBusinessAdvs);

   AuditBusinessAdvs find(long businessId, TransalationType transalationType);
}
